package com.zxl.mmm;

public enum DebtProduct {
    
    //沪市
    GC001("204001",1,0.00001,365),
    GC002("204002",2,0.00002,365),
    GC003("204003",3,0.00003,365),
    GC004("204004",4,0.00004,365),
    GC007("204007",7,0.00005,365),
    GC014("204014",14,0.00010,365),
    GC028("204028",28,0.00020,365),
    GC091("204091",91,0.00030,365),
    GC182("204182",182,0.00030,365),
    //深市
    R001("131810",1,0.00001,365),
    R002("131811",2,0.00002,365),
    R003("131800",3,0.00003,365),
    R004("131809",4,0.00004,365),
    R007("131801",7,0.00005,365),
    R014("131802",14,0.00010,365),
    R028("131803",28,0.00020,365),
    R091("131805",91,0.00030,365),
    R182("131806",182,0.00030,365);
    
    //代码
    private String code; 
    //天数
    private int days;
    //佣金
    private double brokerage;
    //计算年化所采用的天数
    private int daysOfyear;
    
    DebtProduct(String code,int days,double brokerage,int daysOfyear){
        this.code = code;
        this.days = days;
        this.brokerage = brokerage;
        this.daysOfyear = daysOfyear;
    }

    public String getCode() {
        return code;
    }

    public int getDays() {
        return days;
    }

    public double getBrokerage() {
        return brokerage;
    }

    public int getDaysOfyear() {
        return daysOfyear;
    }
    
}
